<?php
/**
 * 活动视频评论
 *
 *
 */
namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class ActivityVideoComment extends Model
{
    //
    protected $table = 'activity_video_comment';

    protected function getDateFormat()
    {
        return 'U';
    }


    public function user()
    {
        return $this->belongsTo('App\Models\User', 'uid', 'uid');
    }

    public function rUser()
    {
        return $this->belongsTo('App\Models\User', 'reply_uid', 'uid');
    }


    public function video()
    {
        return $this->belongsTo('App\Models\ActivityProjectVideo', 'post_id', 'id');
    }



}
